package asteroids.model.programs.type;

import asteroids.model.*;

public class Entity extends T {

	private SpaceObject value;
	
	public Entity(SpaceObject value) {
		this.value = value;
	}
	
	public SpaceObject getValue(){
		return value;
	}
	
	public void setValue(T type){
		if(type instanceof Entity)
			this.value = ((Entity) type).getValue();
	}
	
	public void print(){
		System.out.println(getValue());
	}


}
